import DataTable from './DataTable'
import Filters from './Filters'
import Btns from './Btns'
import Upload from './Upload'
import InfoTable from './InfoTable'
import CommonDialog from './CommonDialog'
import CountBar from './CountBar'
import Ueditor from './Ueditor'
import DragTable from './DragTable'
import Process from './Process'
import Cascader from './Cascader'
import TimeLine from './detail'
import Chooser from './Chooser'
import G2 from './G2'
import Audit from './audit'
import ListDialog from './ListDialog'
import { Header, Sidebar, Breadcrumb, Footer } from './Layout'
import ProjectList from './ProjectList'
import SelectList from './SelectList'
import Approve from './Approve'
import ApproveSteps from './ApproveSteps'

const components = {
    install: function (Vue: any) {
        Vue.use(Sidebar)
        Vue.use(Header)
        Vue.use(Breadcrumb)
        Vue.use(Footer)
        Vue.use(DataTable)
        Vue.use(Filters)
        Vue.use(Btns)
        Vue.use(Upload)
        Vue.use(InfoTable)
        Vue.use(CommonDialog)
        Vue.use(CountBar)
        Vue.use(Ueditor)
        Vue.use(DragTable)
        Vue.use(Process)
        Vue.use(Cascader)
        Vue.use(TimeLine)
        Vue.use(Chooser)
        Vue.use(G2)
        Vue.use(Audit)
        Vue.use(ListDialog)
        Vue.use(ProjectList) // 项目选择
        Vue.use(SelectList) // 审批人选择
        Vue.use(Approve) // 审批
        Vue.use(ApproveSteps) // 审批进度
    }
}
export default components
